package com.linjacy.httpproject.entity;

import java.math.BigDecimal;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.metadata.BaseRowModel;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

@Data
@ToString
@EqualsAndHashCode
public class StudentExcel extends BaseRowModel {

    @ExcelProperty(value = { "姓名", "姓名"}, index = 0)
    private String studentName;

    @ExcelProperty(value = { "班级", "班级"}, index = 1)
    private String studentClass;

    @ExcelProperty(value = { "成绩", "数学"}, index = 2)
    private BigDecimal math;

    @ExcelProperty(value = { "成绩", "语文"}, index = 3)
    private BigDecimal language;

    @ExcelProperty(value = { "成绩", "英语"}, index = 4)
    private BigDecimal english;

}

